home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000181_Petri_member@newsguy.com_Sun Apr 11 13:54:11 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
From: Petri <Petri_member@newsguy.com>
Newsgroups: comp.protocols.kermit.misc
Subject: FTP with Auth SSL
Date: 11 Apr 2004 10:28:35 -0700
Organization: Newsguy News Service [http://newsguy.com]
Lines: 64
Message-ID: <c5bv8301ck0@drn.newsguy.com>
NNTP-Posting-Host: p-402.newsdawg.com
X-Newsreader: Direct Read News 4.20
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14894
Hi everyone,
I am writing a kermit script that will login on a few FTP-servers that demand
"Auth SSL" authentication (that's what it's called in my normal FTP client
anyway), and perform some ftp operations there before exiting.
The FTP-servers all use selfsigned certificates.
They are all glftpd, running on Linux.
All ftp site commands work fine, as they get their responses via the control
session.
But the file transfers immediately fail.
Here is an example of the error message I recieve:
---8<---
(/home/petri/) C-Kermit>ftp dir
---> TYPE A
200 Type set to A.
---> PASV
227 Entering Passive Mode (127,0,0,1,138,84)
---> LIST
150 Opening ASCII mode data connection for directory listing.
ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3
alert illegal parameter
(/home/petri/) C-Kermit>exit
---> QUIT
435 Failed TLS negotiation on data channel, disconnected: No such file or
directory.
---8<---
The "No such file or directory" part that appears after I quit the kermit
session, sounds pretty bad.
Why is it failing a "TLS negotiation", when I explicitly ask for SSL?
Maybe the TLS part isn't important, as "Auth TLS" works too on this particular
FTP-server.
I am running "C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0", on Redhat
9, and the kermit version is what was shipped with the OS.
Here is the script I tried the above with:
---8<---
set auth ssl certs-ok
set ftp authtype ssl
set ftp autologin off
set ftp command-protection-level confidential
set ftp data-protection-level confidential
set ftp debug on
set ftp verbose-mode on
set ftp passive-mode on
set ftp filenames literal
set transfer display off
ftp localhost 21000
if fail exit 1 FTP connection failed
ftp user username password
if fail exit 1 FTP login failed
---8<---
Can someone tell me what is wrong?
Is something missing on my system, or is it simply a config issue I have missed
in kermit?
Many thanks in advance for all suggestions.
Petri